//
// Created by deng on 2023/5/26.
//

#ifndef BOOT_BTLDR_CONFIG_H
#define BOOT_BTLDR_CONFIG_H
// STM32F103C8T6 - 128KB Flash Size
#define DEV_CODE_ADDR           0x08000000
#define DEV_FLASH_SIZE          (1024*1024)
#define DEV_ERASE_PAGE_SIZE     2048

#define APP_ADDR                (DEV_CODE_ADDR + 0x10000)
#define APP_SIZE                (DEV_FLASH_SIZE - 0x10000)

#define CONFIG_READ_FLASH       1u

#endif //BOOT_BTLDR_CONFIG_H
